package com.sky.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sky.bean.BasePO;
import com.sky.handler.FileInfoJsonTypeHandler;
import com.sky.pojo.TestPojo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "employee",autoResultMap = true)
@EqualsAndHashCode(callSuper = true)
public class EmployeePO extends BasePO {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "id",position = 1)
    private Long id;

    @ApiModelProperty(value = "用户名",position = 2)
    private String username;

    @ApiModelProperty(value = "姓名",position = 3)
    private String name;

    @ApiModelProperty(value = "密码",position = 4)
    private String password;

    @ApiModelProperty(value = "手机号",position = 5)
    private String phone;

    @ApiModelProperty(value = "性别",position = 6)
    private String sex;

    @ApiModelProperty(value = "身份证号码",position = 7)
    private String idNumber;

    @ApiModelProperty(value = "状态",position = 8)
    private Integer status;

}
